using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter01
{
	/// <summary>
	/// Example08: Installing a carpet
	/// A carpet is to be installed in a room whose
	/// length is measured to be 12.71 m and whose width is measured
	/// to be 3.46 m. Find the area of the room. 
	/// </summary>
	public class Example08
	{
		public Example08()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			L.Length w = new L.Length();
			w.m = 3.46;
			L.Length l = new L.Length();
			l.m = 12.71;
			L.AreaVector a = new L.AreaVector(l,w);
			result = Convert.ToString(a.mSQUARE);
		}
	}
}
